using System;
using System.Xml;
using System.Xml.Serialization;
namespace SERP.DAO{
	/********************************BEGIN MenusEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:09/03/2013 19:09:04</para>
	/// <para>Class Name: MenusEntity</para>
	/// <para>Description: ClassMenusEntity store data of table Menus</para>
	///</summary>

	[Serializable]
	public partial class MenusEntity{


		private bool _InternalChangedIsNullMenuId=true;
		private bool _IsNullMenuId=true;
		private bool _InternalChangedIsNullParentId=true;
		private bool _IsNullParentId=true;
		private bool _InternalChangedIsNullModuleId=true;
		private bool _IsNullModuleId=true;
		private bool _InternalChangedIsNullMenuName=true;
		private bool _IsNullMenuName=true;
		private bool _InternalChangedIsNullDescription=true;
		private bool _IsNullDescription=true;
		private bool _InternalChangedIsNullIconName=true;
		private bool _IsNullIconName=true;
		private bool _InternalChangedIsNullMenuUrl=true;
		private bool _IsNullMenuUrl=true;
		private bool _InternalChangedIsNullDisplayIndex=true;
		private bool _IsNullDisplayIndex=true;
		private int _MenuId;
		private int _ParentId;
		private int _ModuleId;
		private string _MenuName;
		private string _Description;
		private string _IconName;
		private string _MenuUrl;
		private int _DisplayIndex;
		[XmlElement(ElementName = "IsNullMenuId")]
		public bool IsNullMenuId{
			get{return _IsNullMenuId;}
			set{if(!_InternalChangedIsNullMenuId)_IsNullMenuId=value;}
		}
		[XmlElement(ElementName = "IsNullParentId")]
		public bool IsNullParentId{
			get{return _IsNullParentId;}
			set{if(!_InternalChangedIsNullParentId)_IsNullParentId=value;}
		}
		[XmlElement(ElementName = "IsNullModuleId")]
		public bool IsNullModuleId{
			get{return _IsNullModuleId;}
			set{if(!_InternalChangedIsNullModuleId)_IsNullModuleId=value;}
		}
		[XmlElement(ElementName = "IsNullMenuName")]
		public bool IsNullMenuName{
			get{return _IsNullMenuName;}
			set{if(!_InternalChangedIsNullMenuName)_IsNullMenuName=value;}
		}
		[XmlElement(ElementName = "IsNullDescription")]
		public bool IsNullDescription{
			get{return _IsNullDescription;}
			set{if(!_InternalChangedIsNullDescription)_IsNullDescription=value;}
		}
		[XmlElement(ElementName = "IsNullIconName")]
		public bool IsNullIconName{
			get{return _IsNullIconName;}
			set{if(!_InternalChangedIsNullIconName)_IsNullIconName=value;}
		}
		[XmlElement(ElementName = "IsNullMenuUrl")]
		public bool IsNullMenuUrl{
			get{return _IsNullMenuUrl;}
			set{if(!_InternalChangedIsNullMenuUrl)_IsNullMenuUrl=value;}
		}
		[XmlElement(ElementName = "IsNullDisplayIndex")]
		public bool IsNullDisplayIndex{
			get{return _IsNullDisplayIndex;}
			set{if(!_InternalChangedIsNullDisplayIndex)_IsNullDisplayIndex=value;}
		}
		[XmlElement(ElementName = "MenuId")]
		public int MenuId{
			get{return _MenuId;}
			set{
				_MenuId=value;
				if(_MenuId!=null){
					_IsNullMenuId=false;
					_InternalChangedIsNullMenuId=true;
				}
			}
		}
		[XmlElement(ElementName = "ParentId")]
		public int ParentId{
			get{return _ParentId;}
			set{
				_ParentId=value;
				if(_ParentId!=null){
					_IsNullParentId=false;
					_InternalChangedIsNullParentId=true;
				}
			}
		}
		[XmlElement(ElementName = "ModuleId")]
		public int ModuleId{
			get{return _ModuleId;}
			set{
				_ModuleId=value;
				if(_ModuleId!=null){
					_IsNullModuleId=false;
					_InternalChangedIsNullModuleId=true;
				}
			}
		}
		[XmlElement(ElementName = "MenuName")]
		public string MenuName{
			get{return _MenuName;}
			set{
				_MenuName=value;
				if(_MenuName!=null){
					_IsNullMenuName=false;
					_InternalChangedIsNullMenuName=true;
				}
			}
		}
		[XmlElement(ElementName = "Description")]
		public string Description{
			get{return _Description;}
			set{
				_Description=value;
				if(_Description!=null){
					_IsNullDescription=false;
					_InternalChangedIsNullDescription=true;
				}
			}
		}
		[XmlElement(ElementName = "IconName")]
		public string IconName{
			get{return _IconName;}
			set{
				_IconName=value;
				if(_IconName!=null){
					_IsNullIconName=false;
					_InternalChangedIsNullIconName=true;
				}
			}
		}
		[XmlElement(ElementName = "MenuUrl")]
		public string MenuUrl{
			get{return _MenuUrl;}
			set{
				_MenuUrl=value;
				if(_MenuUrl!=null){
					_IsNullMenuUrl=false;
					_InternalChangedIsNullMenuUrl=true;
				}
			}
		}
		[XmlElement(ElementName = "DisplayIndex")]
		public int DisplayIndex{
			get{return _DisplayIndex;}
			set{
				_DisplayIndex=value;
				if(_DisplayIndex!=null){
					_IsNullDisplayIndex=false;
					_InternalChangedIsNullDisplayIndex=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MenusEntityBase*****************************************/
	/*****************************************************************************************************/
}

